using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Core.Domain.Orders
{
    public enum OrderKind : int
    {
        Express = 10,
        Commerce = 20,
        ExpressMembership = 30,
        CommerceMembership = 40,
        Reserve = 50,
        ExpressModify = 60
    }

    public static class OrderKindExtension
    {
        public static string ToCode(this OrderKind orderKind)
        {
            switch (orderKind)
            {
                case OrderKind.Express:
                    return "SE";
                case OrderKind.Commerce:
                    return "SC";
                case OrderKind.ExpressMembership:
                    break;
				case OrderKind.CommerceMembership:
					break;
                default:
                    break;
            }
            return "";
        }
    }
}
